 <div class="col-sm" style="flex:0 0 300px;">
    <div class="card inbox-panel">
      <div class="card-body p-b-0" style="border-bottom:1px solid #f2f4f8">
        <h4 class="card-title">栏目管理</h4>
      </div>
      <ul class="list-group list-group-flush">
        {% for c in category %}
        <li
          class="list-group-item {% if request.args.get('cid') == '{}'.format(c.id) %} active {% endif %}">
          <a href="{{ url_for('article.index', cid=c.id) }}"><i class="fa fa-inbox"></i> {{ c.title }}
            <span class="label label-success pull-right"> {{ c.get_count() }} </span>
          </a>
        </li>
        {% endfor %}
      </ul>
    </div>

  </div>